﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
using PSBLib1;

namespace PSB
{
    class Structure
    {
        public Vector3 Position, RallyPosition;
        //public BuildingMenu Menu;

        public string Name;
        public string Type;
        public string Faction;
        public string Color;
        public string TextureName;

        public int IDNumber;
        public int Width, Height;
        public int CurrentHealth, MaxHealth;
        public int Defense, NumGarrison;
        public int Cost;
        public int UpgradeLevel;
        public int AttackRate;
        public int VisionRadius;
        public int AttackRadius;
        public int RangedDamage;
        public int ResourceRate;

        public bool Intact, Garrisoned;
        public bool Selected, Garrisonable;

        public Structure()
        {
            // Trivial constructor
        }

        public Structure(string name)
        {
            // Non-trivial constructor
        }

        public void LoadData() 
        {
            // Load data from xml
        }

    }
}
